﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace laba2.Entity
{
   public class BoundaryControl : Task
    {
       private DateTime _date;

      public BoundaryControl(int id, int passingRating, int maximumRating, string name, Course course, DateTime date) : base(id, passingRating, maximumRating, name, course)
       {
           _date = date;
       }

       public BoundaryControl(int passingRating, string name, int maximumRating, Course course, DateTime date) : base(passingRating,  maximumRating, name,course)
       {
           _date = date;
       }

       public BoundaryControl()
       {
       }

       public DateTime Date
       {
           get { return _date; }
           set { _date = value; }
       }
    }
}
